package com.ruoyi.finance.service;

import com.ruoyi.finance.domain.CommissionDeliverySituation;

import java.util.Date;
import java.util.List;

/**
 * 提成发货情况Service接口
 *
 * @author admin
 * @date 2023-10-19
 */
public interface ICommissionDeliverySituationService
{
    /**
     * 查询提成发货情况
     *
     * @param id 提成发货情况ID
     * @return 提成发货情况
     */
    public CommissionDeliverySituation selectCommissionDeliverySituationById(Long id);

    /**
     * 查询提成发货情况列表
     *
     * @param commissionDeliverySituation 提成发货情况
     * @return 提成发货情况集合
     */
    public List<CommissionDeliverySituation> selectCommissionDeliverySituationList(CommissionDeliverySituation commissionDeliverySituation);

    List<CommissionDeliverySituation> selectSituationListForSync(CommissionDeliverySituation commissionDeliverySituation);

    List<CommissionDeliverySituation> selectCommissionSituation(Date commissionDate, Integer searchType);

    /**
     * 新增提成发货情况
     *
     * @param commissionDeliverySituation 提成发货情况
     * @return 结果
     */
    public int insertCommissionDeliverySituation(CommissionDeliverySituation commissionDeliverySituation);

    /**
     * 修改提成发货情况
     *
     * @param commissionDeliverySituation 提成发货情况
     * @return 结果
     */
    public int updateCommissionDeliverySituation(CommissionDeliverySituation commissionDeliverySituation);

    int batchUpdateCommissionDeliverySituation(List<CommissionDeliverySituation> list);

    /**
     * 批量删除提成发货情况
     *
     * @param ids 需要删除的提成发货情况ID
     * @return 结果
     */
    public int deleteCommissionDeliverySituationByIds(Long[] ids);

    /**
     * 删除提成发货情况信息
     *
     * @param id 提成发货情况ID
     * @return 结果
     */
    public int deleteCommissionDeliverySituationById(Long id);
}
